# schemas/role.py
from pydantic import BaseModel

class RoleBase(BaseModel):
    name: str

class RoleOut(RoleBase):
    id: int
    class Config:
        from_attributes = True
